<template>
  <ant-modal
    modalWidth="480"
    modalHeight="350"
    :visible="open"
    modal-title="费用作废"
    :adjust-size="true"
    @cancel="cancel"
  >
    <a-form-model
      ref="form"
      :model="form"
      :rules="rules"
      slot="content"
      :layout="layout"
      v-bind="{
        labelCol: { span: 8 },
        wrapperCol: { span: 16 },
      }"
    >
      <a-row :gutter="32" style="margin-top: 50px">
        <a-col :span="22">
          <a-form-model-item label="作废状态" prop="isZuofei">
            <a-select
              placeholder="请选择作废状态"
              v-model="form.isZuofei"
              :getPopupContainer="
                (triggerNode) => {
                  return triggerNode.parentNode || document.body;
                }
              "
              style="width: 100%"
              allow-clear
            >
              <a-select-option
                v-for="(d, index) in isZuofeiOptions"
                :key="index"
                :value="d.dictValue"
                >{{ d.dictLabel }}</a-select-option
              >
            </a-select>
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer">
      <a-button @click="cancel"> 取消 </a-button>
      <a-button type="primary" @click="submitForm"> 保存 </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizJinjianBillEditForm from "./BizJinjianBillForm";
export default {
  ...BizJinjianBillEditForm,
};
</script>
